package com.definity.toolkit.storage;

import java.io.InputStream;

import com.definity.toolkit.service.Service;

public interface StorageService<T extends StorageData, C> extends Service {

	T store(T data, InputStream stream);

	void delete(T data);
	
	T update(T data);
	
	T get(Long id);

	C getContent(Long dataId);

	C getContent(T data);
	
}
